#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#define OFFSET_OF(type,member) ((size_t)(&(((type*)0)->member)))
typedef struct address {
	char name[50];
	char street[50];
	int phone;
}ad;
int main()
{
	printf("%zd\n", OFFSET_OF(ad, name));
	printf("%zd\n", OFFSET_OF(ad, street));
	printf("%zd\n", OFFSET_OF(ad, phone));
	return 0;
}